package model

import (
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ MallAuthModel = (*customMallAuthModel)(nil)

type (
	// MallAuthModel is an interface to be customized, add more methods here,
	// and implement the added methods in customMallAuthModel.
	MallAuthModel interface {
		mallAuthModel
	}

	customMallAuthModel struct {
		*defaultMallAuthModel
	}
)

// NewMallAuthModel returns a model for the database table.
func NewMallAuthModel(conn sqlx.SqlConn) MallAuthModel {
	return &customMallAuthModel{
		defaultMallAuthModel: newMallAuthModel(conn),
	}
}
